import request from '@/utils/request'

// 获取级配名称分页
export function asphaltMatchNameListSelect(query) {
    return request({
        // url: '/zhgd/asphaltMatchName/listSelect',
        url: '/zhgd/asphaltMatchType/listSelect',
        method: 'get',
        params: query
    })
}


// 列表查询
export function asphaltMatchName(query) {
    return request({
        url: '/zhgd/asphaltMatchName/page',
        method: 'get',
        params: query
    })
}

// 获取级配名称详细信息
export function asphaltMatchNameLook(id) {
    return request({
        url: '/zhgd/asphaltMatchName/' + id,
        method: 'get'
    })
}




// 新增
export function asphaltMatchNameAdd(data) {
    return request({
        url: '/zhgd/asphaltMatchName',
        method: 'post',
        data: data
    })
}

// 修改
export function asphaltMatchNameEdit(data) {
    return request({
        url: '/zhgd/asphaltMatchName',
        method: 'put',
        data: data
    })
}

// // 删除
export function asphaltMatchNameRemove(ids) {
    return request({
        url: '/zhgd/asphaltMatchName/' + ids,
        method: 'delete'
    })
}